%%{init: {'themeVariables': { 'fontSize': '12px'}}}%%
graph TD
    classDef path fill:#eee,stroke:#000,color:#000
    classDef plan fill:#fff,stroke-width:1px,color:#000
    classDef itemplan fill:#fff,stroke-width:2px,color:#000
    classDef unbatchedplan fill:#dff,stroke-width:1px,color:#000
    classDef sideeffectplan fill:#fcc,stroke-width:2px,color:#000
    classDef bucket fill:#f6f6f6,color:#000,stroke-width:2px,text-align:left

    subgraph "Buckets for queries/interfaces-relational/nested-more-fragments"
    Bucket0("Bucket 0 (root)<br /><br />1: 329, 337<br />ᐳ: 6, 8, 9, 10<br />2: PgSelectInlineApply[333]<br />3: PgSelectInlineApply[341]<br />4: PgSelect[7]<br />ᐳ: Access[342]<br />5: PgSelectRows[11]"):::bucket
    Bucket1("Bucket 1 (listItem)<br />Deps: 342, 10<br /><br />ROOT __Item{1}ᐸ11ᐳ[12]"):::bucket
    Bucket2("Bucket 2 (nullableBoundary)<br />Deps: 13, 342, 12, 10<br /><br />ROOT PgSelectSingle{1}ᐸpeopleᐳ[13]<br />1: <br />ᐳ: 14, 343, 344<br />2: PgSelectRows[20]"):::bucket
    Bucket3("Bucket 3 (listItem)<br />Deps: 344, 10<br /><br />ROOT __Item{3}ᐸ20ᐳ[21]<br />1: <br />ᐳ: 22, 338, 23, 25, 26, 117, 152, 157, 162, 167, 172, 339, 340<br />2: PgSelectRows[126]<br />ᐳ: First[125], PgSelectSingle[127]"):::bucket
    Bucket4("Bucket 4 (polymorphic)<br />__typename: Lambda[26]<br />Deps: 26, 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172"):::bucket
    Bucket5("Bucket 5 (polymorphicPartition)<br />|RelationalTopic<br />Deps: 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172<br />ᐳRelationalTopic<br /><br />1: PgSelect[28]<br />2: PgSelectRows[33]<br />ᐳ: 32, 34, 177"):::bucket
    Bucket6("Bucket 6 (polymorphicPartition)<br />|RelationalPost<br />Deps: 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172<br />ᐳRelationalPost<br /><br />1: PgSelect[36]<br />2: PgSelectRows[41]<br />ᐳ: 40, 42, 178, 182, 185"):::bucket
    Bucket7("Bucket 7 (polymorphicPartition)<br />|RelationalDivider<br />Deps: 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172<br />ᐳRelationalDivider<br /><br />1: PgSelect[44]<br />2: PgSelectRows[49]<br />ᐳ: 48, 50, 179, 183"):::bucket
    Bucket8("Bucket 8 (polymorphicPartition)<br />|RelationalChecklist<br />Deps: 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172<br />ᐳRelationalChecklist<br /><br />1: PgSelect[52]<br />2: PgSelectRows[57]<br />ᐳ: 56, 58, 180"):::bucket
    Bucket9("Bucket 9 (polymorphicPartition)<br />|RelationalChecklistItem<br />Deps: 10, 23, 127, 344, 22, 25, 117, 152, 157, 162, 167, 172<br />ᐳRelationalChecklistItem<br /><br />1: PgSelect[60]<br />2: PgSelectRows[65]<br />ᐳ: 64, 66, 181, 184"):::bucket
    Bucket10("Bucket 10 (nullableBoundary)<br />Deps: 127<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[127]"):::bucket
    Bucket11("Bucket 11 (nullableBoundary)<br />Deps: 127<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[127]"):::bucket
    Bucket12("Bucket 12 (nullableBoundary)<br />Deps: 127<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[127]"):::bucket
    Bucket13("Bucket 13 (nullableBoundary)<br />Deps: 127<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[127]"):::bucket
    Bucket14("Bucket 14 (nullableBoundary)<br />Deps: 127<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[127]"):::bucket
    Bucket15("Bucket 15 (combined)<br />Deps: 344, 22, 10<br /><br />1: <br />ᐳ: 334, 335, 336, 330<br />2: PgSelectRows[73]<br />ᐳ: 72, 74, 186, 188, 189, 245, 290, 295, 300, 305, 310, 331, 332<br />3: PgSelectRows[256]<br />ᐳ: First[255], PgSelectSingle[257]"):::bucket
    Bucket16("Bucket 16 (polymorphic)<br />__typename: Lambda[189]<br />Deps: 189, 10, 186, 257, 188, 245, 290, 295, 300, 305, 310"):::bucket
    Bucket17("Bucket 17 (polymorphicPartition)<br />|RelationalTopic<br />Deps: 10, 186, 257, 188, 245, 290, 295, 300, 305, 310<br />(5) ...ᐳRelationalTopic<br /><br />1: PgSelect[191]<br />2: PgSelectRows[196]<br />ᐳ: 195, 197, 315"):::bucket
    Bucket18("Bucket 18 (polymorphicPartition)<br />|RelationalPost<br />Deps: 10, 186, 257, 188, 245, 290, 295, 300, 305, 310<br />(5) ...ᐳRelationalPost<br /><br />1: PgSelect[199]<br />2: PgSelectRows[204]<br />ᐳ: 203, 205, 316, 320, 323"):::bucket
    Bucket19("Bucket 19 (polymorphicPartition)<br />|RelationalDivider<br />Deps: 10, 186, 257, 188, 245, 290, 295, 300, 305, 310<br />(5) ...ᐳRelationalDivider<br /><br />1: PgSelect[207]<br />2: PgSelectRows[212]<br />ᐳ: 211, 213, 317, 321"):::bucket
    Bucket20("Bucket 20 (polymorphicPartition)<br />|RelationalChecklist<br />Deps: 10, 186, 257, 188, 245, 290, 295, 300, 305, 310<br />(5) ...ᐳRelationalChecklist<br /><br />1: PgSelect[215]<br />2: PgSelectRows[220]<br />ᐳ: 219, 221, 318"):::bucket
    Bucket21("Bucket 21 (polymorphicPartition)<br />|RelationalChecklistItem<br />Deps: 10, 186, 257, 188, 245, 290, 295, 300, 305, 310<br />(5) ...ᐳRelationalChecklistItem<br /><br />1: PgSelect[223]<br />2: PgSelectRows[228]<br />ᐳ: 227, 229, 319, 322"):::bucket
    Bucket22("Bucket 22 (nullableBoundary)<br />Deps: 257<br /><br />ROOT PgSelectSingle{15}ᐸpeopleᐳ[257]"):::bucket
    Bucket23("Bucket 23 (nullableBoundary)<br />Deps: 257<br /><br />ROOT PgSelectSingle{15}ᐸpeopleᐳ[257]"):::bucket
    Bucket24("Bucket 24 (nullableBoundary)<br />Deps: 257<br /><br />ROOT PgSelectSingle{15}ᐸpeopleᐳ[257]"):::bucket
    Bucket25("Bucket 25 (nullableBoundary)<br />Deps: 257<br /><br />ROOT PgSelectSingle{15}ᐸpeopleᐳ[257]"):::bucket
    Bucket26("Bucket 26 (nullableBoundary)<br />Deps: 257<br /><br />ROOT PgSelectSingle{15}ᐸpeopleᐳ[257]"):::bucket
    end
    Bucket0 --> Bucket1
    Bucket1 --> Bucket2
    Bucket2 --> Bucket3
    Bucket3 --> Bucket4
    Bucket4 --> Bucket5 & Bucket6 & Bucket7 & Bucket8 & Bucket9
    Bucket5 --> Bucket10 & Bucket15
    Bucket6 --> Bucket11 & Bucket15
    Bucket7 --> Bucket12 & Bucket15
    Bucket8 --> Bucket13 & Bucket15
    Bucket9 --> Bucket14 & Bucket15
    Bucket15 --> Bucket16
    Bucket16 --> Bucket17 & Bucket18 & Bucket19 & Bucket20 & Bucket21
    Bucket17 --> Bucket22
    Bucket18 --> Bucket23
    Bucket19 --> Bucket24
    Bucket20 --> Bucket25
    Bucket21 --> Bucket26

    %% plan dependencies
    PgSelectInlineApply341["PgSelectInlineApply[341∈0] ➊<br />More deps:<br />- Constantᐸundefinedᐳ[6]<br />- Constantᐸundefinedᐳ[6]"]:::plan
    PgSelectInlineApply333["PgSelectInlineApply[333∈0] ➊"]:::plan
    PgSelectInlineApply337["PgSelectInlineApply[337∈0] ➊"]:::plan
    PgSelectInlineApply333 & PgSelectInlineApply337 --> PgSelectInlineApply341
    PgSelect7[["PgSelect[7∈0] ➊<br />ᐸpeopleᐳ<br />More deps:<br />- Object[10]<br />- Constantᐸundefinedᐳ[6]"]]:::plan
    PgSelectInlineApply341 --> PgSelect7
    Object10{{"Object[10∈0] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ<br />Dependents: 11"}}:::plan
    Access8{{"Access[8∈0] ➊<br />ᐸ2.pgSettingsᐳ"}}:::plan
    Access9{{"Access[9∈0] ➊<br />ᐸ2.withPgClientᐳ"}}:::plan
    Access8 & Access9 --> Object10
    __Value2["__Value[2∈0] ➊<br />ᐸcontextᐳ"]:::plan
    __Value2 --> Access8
    __Value2 --> Access9
    PgSelectRows11[["PgSelectRows[11∈0] ➊"]]:::plan
    PgSelect7 --> PgSelectRows11
    PgSelectInlineApply329["PgSelectInlineApply[329∈0] ➊"]:::plan
    PgSelectInlineApply329 --> PgSelectInlineApply333
    Access342{{"Access[342∈0] ➊<br />ᐸ7.m.subqueryDetailsFor16ᐳ"}}:::plan
    PgSelect7 --> Access342
    __Item12[/"__Item[12∈1]<br />ᐸ11ᐳ"\]:::itemplan
    PgSelectRows11 ==> __Item12
    PgSelectSingle13{{"PgSelectSingle[13∈1]<br />ᐸpeopleᐳ"}}:::plan
    __Item12 --> PgSelectSingle13
    List343{{"List[343∈2]<br />ᐸ342,12ᐳ"}}:::plan
    Access342 & __Item12 --> List343
    PgClassExpression14{{"PgClassExpression[14∈2]<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgSelectSingle13 --> PgClassExpression14
    PgSelectRows20[["PgSelectRows[20∈2]"]]:::plan
    Lambda344{{"Lambda[344∈2]<br />ᐸpgInlineViaSubqueryTransformᐳ"}}:::plan
    Lambda344 --> PgSelectRows20
    List343 --> Lambda344
    List339{{"List[339∈3]<br />ᐸ338,22ᐳ"}}:::plan
    Access338{{"Access[338∈3]<br />ᐸ344.m.joinDetailsFor123ᐳ"}}:::plan
    PgSelectSingle22{{"PgSelectSingle[22∈3]<br />ᐸrelational_itemsᐳ"}}:::plan
    Access338 & PgSelectSingle22 --> List339
    __Item21[/"__Item[21∈3]<br />ᐸ20ᐳ"\]:::itemplan
    PgSelectRows20 ==> __Item21
    __Item21 --> PgSelectSingle22
    PgClassExpression23{{"PgClassExpression[23∈3]<br />ᐸ__relation...ems__.”id”ᐳ"}}:::plan
    PgSelectSingle22 --> PgClassExpression23
    PgClassExpression25{{"PgClassExpression[25∈3]<br />ᐸ__relation...s__.”type”ᐳ"}}:::plan
    PgSelectSingle22 --> PgClassExpression25
    Lambda26{{"Lambda[26∈3]<br />ᐸrelationalItemTypeNameFromTypeᐳ"}}:::plan
    PgClassExpression25 --> Lambda26
    PgClassExpression117{{"PgClassExpression[117∈3]<br />ᐸ__relation...__.”type2”ᐳ"}}:::plan
    PgSelectSingle22 --> PgClassExpression117
    First125{{"First[125∈3]"}}:::plan
    PgSelectRows126[["PgSelectRows[126∈3]"]]:::plan
    PgSelectRows126 --> First125
    Lambda340{{"Lambda[340∈3]<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda340 --> PgSelectRows126
    PgSelectSingle127{{"PgSelectSingle[127∈3]<br />ᐸpeopleᐳ"}}:::plan
    First125 --> PgSelectSingle127
    PgClassExpression152{{"PgClassExpression[152∈3]<br />ᐸ__relation...”position”ᐳ"}}:::plan
    PgClassExpression117 o--o PgClassExpression152
    PgClassExpression157{{"PgClassExpression[157∈3]<br />ᐸ__relation...reated_at”ᐳ"}}:::plan
    PgClassExpression152 o--o PgClassExpression157
    PgClassExpression162{{"PgClassExpression[162∈3]<br />ᐸ__relation...pdated_at”ᐳ"}}:::plan
    PgClassExpression157 o--o PgClassExpression162
    PgClassExpression167{{"PgClassExpression[167∈3]<br />ᐸ__relation..._archived”ᐳ"}}:::plan
    PgClassExpression162 o--o PgClassExpression167
    PgClassExpression172{{"PgClassExpression[172∈3]<br />ᐸ__relation...chived_at”ᐳ"}}:::plan
    PgClassExpression167 o--o PgClassExpression172
    Lambda344 --> Access338
    List339 --> Lambda340
    PgSelect28[["PgSelect[28∈5]<br />ᐸrelational_topicsᐳ<br />ᐳRelationalTopic<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression23 --> PgSelect28
    First32{{"First[32∈5]^"}}:::plan
    PgSelectRows33[["PgSelectRows[33∈5]^"]]:::plan
    PgSelectRows33 --> First32
    PgSelect28 --> PgSelectRows33
    PgSelectSingle34{{"PgSelectSingle[34∈5]^<br />ᐸrelational_topicsᐳ"}}:::plan
    First32 --> PgSelectSingle34
    PgClassExpression177{{"PgClassExpression[177∈5]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle34 --> PgClassExpression177
    PgSelect36[["PgSelect[36∈6]<br />ᐸrelational_postsᐳ<br />ᐳRelationalPost<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression23 --> PgSelect36
    First40{{"First[40∈6]^"}}:::plan
    PgSelectRows41[["PgSelectRows[41∈6]^"]]:::plan
    PgSelectRows41 --> First40
    PgSelect36 --> PgSelectRows41
    PgSelectSingle42{{"PgSelectSingle[42∈6]^<br />ᐸrelational_postsᐳ"}}:::plan
    First40 --> PgSelectSingle42
    PgClassExpression178{{"PgClassExpression[178∈6]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle42 --> PgClassExpression178
    PgClassExpression182{{"PgClassExpression[182∈6]^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression178 o--o PgClassExpression182
    PgClassExpression185{{"PgClassExpression[185∈6]^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression182 o--o PgClassExpression185
    PgSelect44[["PgSelect[44∈7]<br />ᐸrelational_dividersᐳ<br />ᐳRelationalDivider<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression23 --> PgSelect44
    First48{{"First[48∈7]^"}}:::plan
    PgSelectRows49[["PgSelectRows[49∈7]^"]]:::plan
    PgSelectRows49 --> First48
    PgSelect44 --> PgSelectRows49
    PgSelectSingle50{{"PgSelectSingle[50∈7]^<br />ᐸrelational_dividersᐳ"}}:::plan
    First48 --> PgSelectSingle50
    PgClassExpression179{{"PgClassExpression[179∈7]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle50 --> PgClassExpression179
    PgClassExpression183{{"PgClassExpression[183∈7]^<br />ᐸ__relation...__.”color”ᐳ"}}:::plan
    PgClassExpression179 o--o PgClassExpression183
    PgSelect52[["PgSelect[52∈8]<br />ᐸrelational_checklistsᐳ<br />ᐳRelationalChecklist<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression23 --> PgSelect52
    First56{{"First[56∈8]^"}}:::plan
    PgSelectRows57[["PgSelectRows[57∈8]^"]]:::plan
    PgSelectRows57 --> First56
    PgSelect52 --> PgSelectRows57
    PgSelectSingle58{{"PgSelectSingle[58∈8]^<br />ᐸrelational_checklistsᐳ"}}:::plan
    First56 --> PgSelectSingle58
    PgClassExpression180{{"PgClassExpression[180∈8]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle58 --> PgClassExpression180
    PgSelect60[["PgSelect[60∈9]<br />ᐸrelational_checklist_itemsᐳ<br />ᐳRelationalChecklistItem<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression23 --> PgSelect60
    First64{{"First[64∈9]^"}}:::plan
    PgSelectRows65[["PgSelectRows[65∈9]^"]]:::plan
    PgSelectRows65 --> First64
    PgSelect60 --> PgSelectRows65
    PgSelectSingle66{{"PgSelectSingle[66∈9]^<br />ᐸrelational_checklist_itemsᐳ"}}:::plan
    First64 --> PgSelectSingle66
    PgClassExpression181{{"PgClassExpression[181∈9]^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgSelectSingle66 --> PgClassExpression181
    PgClassExpression184{{"PgClassExpression[184∈9]^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression181 o--o PgClassExpression184
    PgClassExpression230{{"PgClassExpression[230∈10]<br />ᐸ__people__.”username”ᐳ<br />ᐳRelationalTopic"}}:::plan
    PgSelectSingle127 --> PgClassExpression230
    PgClassExpression231{{"PgClassExpression[231∈11]<br />ᐸ__people__.”username”ᐳ<br />ᐳRelationalPost"}}:::plan
    PgClassExpression230 o--o PgClassExpression231
    PgClassExpression232{{"PgClassExpression[232∈12]<br />ᐸ__people__.”username”ᐳ<br />ᐳRelationalDivider"}}:::plan
    PgClassExpression231 o--o PgClassExpression232
    PgClassExpression233{{"PgClassExpression[233∈13]<br />ᐸ__people__.”username”ᐳ<br />ᐳRelationalChecklist"}}:::plan
    PgClassExpression232 o--o PgClassExpression233
    PgClassExpression234{{"PgClassExpression[234∈14]<br />ᐸ__people__.”username”ᐳ<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression233 o--o PgClassExpression234
    List331{{"List[331∈15]<br />ᐸ330,74ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    Access330{{"Access[330∈15]<br />ᐸ336.m.joinDetailsFor251ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgSelectSingle74{{"PgSelectSingle[74∈15]<br />ᐸrelational_itemsᐳ"}}:::plan
    Access330 & PgSelectSingle74 --> List331
    List335{{"List[335∈15]<br />ᐸ334,22ᐳ"}}:::plan
    Access334{{"Access[334∈15]<br />ᐸ344.m.joinDetailsFor68ᐳ"}}:::plan
    Access334 & PgSelectSingle22 --> List335
    First72{{"First[72∈15]"}}:::plan
    PgSelectRows73[["PgSelectRows[73∈15]"]]:::plan
    PgSelectRows73 --> First72
    Lambda336{{"Lambda[336∈15]<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda336 --> PgSelectRows73
    First72 --> PgSelectSingle74
    PgClassExpression186{{"PgClassExpression[186∈15]<br />ᐸ__relation...ems__.”id”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgSelectSingle74 --> PgClassExpression186
    PgClassExpression188{{"PgClassExpression[188∈15]<br />ᐸ__relation...s__.”type”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgSelectSingle74 --> PgClassExpression188
    Lambda189{{"Lambda[189∈15]^<br />ᐸrelationalItemTypeNameFromTypeᐳ"}}:::plan
    PgClassExpression188 --> Lambda189
    PgClassExpression245{{"PgClassExpression[245∈15]<br />ᐸ__relation...__.”type2”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgSelectSingle74 --> PgClassExpression245
    First255{{"First[255∈15]^"}}:::plan
    PgSelectRows256[["PgSelectRows[256∈15]^"]]:::plan
    PgSelectRows256 --> First255
    Lambda332{{"Lambda[332∈15]^<br />ᐸpgInlineViaJoinTransformᐳ"}}:::plan
    Lambda332 --> PgSelectRows256
    PgSelectSingle257{{"PgSelectSingle[257∈15]^<br />ᐸpeopleᐳ"}}:::plan
    First255 --> PgSelectSingle257
    PgClassExpression290{{"PgClassExpression[290∈15]<br />ᐸ__relation...”position”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression245 o--o PgClassExpression290
    PgClassExpression295{{"PgClassExpression[295∈15]<br />ᐸ__relation...reated_at”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression290 o--o PgClassExpression295
    PgClassExpression300{{"PgClassExpression[300∈15]<br />ᐸ__relation...pdated_at”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression295 o--o PgClassExpression300
    PgClassExpression305{{"PgClassExpression[305∈15]<br />ᐸ__relation..._archived”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression300 o--o PgClassExpression305
    PgClassExpression310{{"PgClassExpression[310∈15]<br />ᐸ__relation...chived_at”ᐳ<br />ᐳRelationalTopic<br />ᐳRelationalPost<br />ᐳRelationalDivider<br />ᐳRelationalChecklist<br />ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression305 o--o PgClassExpression310
    Lambda336 --> Access330
    List331 --> Lambda332
    Lambda344 --> Access334
    List335 --> Lambda336
    PgSelect191[["PgSelect[191∈17]<br />ᐸrelational_topicsᐳ<br />(5) ...ᐳRelationalTopic<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression186 --> PgSelect191
    First195{{"First[195∈17]^"}}:::plan
    PgSelectRows196[["PgSelectRows[196∈17]^"]]:::plan
    PgSelectRows196 --> First195
    PgSelect191 --> PgSelectRows196
    PgSelectSingle197{{"PgSelectSingle[197∈17]^<br />ᐸrelational_topicsᐳ"}}:::plan
    First195 --> PgSelectSingle197
    PgClassExpression315{{"PgClassExpression[315∈17]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle197 --> PgClassExpression315
    PgSelect199[["PgSelect[199∈18]<br />ᐸrelational_postsᐳ<br />(5) ...ᐳRelationalPost<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression186 --> PgSelect199
    First203{{"First[203∈18]^"}}:::plan
    PgSelectRows204[["PgSelectRows[204∈18]^"]]:::plan
    PgSelectRows204 --> First203
    PgSelect199 --> PgSelectRows204
    PgSelectSingle205{{"PgSelectSingle[205∈18]^<br />ᐸrelational_postsᐳ"}}:::plan
    First203 --> PgSelectSingle205
    PgClassExpression316{{"PgClassExpression[316∈18]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle205 --> PgClassExpression316
    PgClassExpression320{{"PgClassExpression[320∈18]^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgClassExpression316 o--o PgClassExpression320
    PgClassExpression323{{"PgClassExpression[323∈18]^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression320 o--o PgClassExpression323
    PgSelect207[["PgSelect[207∈19]<br />ᐸrelational_dividersᐳ<br />(5) ...ᐳRelationalDivider<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression186 --> PgSelect207
    First211{{"First[211∈19]^"}}:::plan
    PgSelectRows212[["PgSelectRows[212∈19]^"]]:::plan
    PgSelectRows212 --> First211
    PgSelect207 --> PgSelectRows212
    PgSelectSingle213{{"PgSelectSingle[213∈19]^<br />ᐸrelational_dividersᐳ"}}:::plan
    First211 --> PgSelectSingle213
    PgClassExpression317{{"PgClassExpression[317∈19]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle213 --> PgClassExpression317
    PgClassExpression321{{"PgClassExpression[321∈19]^<br />ᐸ__relation...__.”color”ᐳ"}}:::plan
    PgClassExpression317 o--o PgClassExpression321
    PgSelect215[["PgSelect[215∈20]<br />ᐸrelational_checklistsᐳ<br />(5) ...ᐳRelationalChecklist<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression186 --> PgSelect215
    First219{{"First[219∈20]^"}}:::plan
    PgSelectRows220[["PgSelectRows[220∈20]^"]]:::plan
    PgSelectRows220 --> First219
    PgSelect215 --> PgSelectRows220
    PgSelectSingle221{{"PgSelectSingle[221∈20]^<br />ᐸrelational_checklistsᐳ"}}:::plan
    First219 --> PgSelectSingle221
    PgClassExpression318{{"PgClassExpression[318∈20]^<br />ᐸ__relation...__.”title”ᐳ"}}:::plan
    PgSelectSingle221 --> PgClassExpression318
    PgSelect223[["PgSelect[223∈21]<br />ᐸrelational_checklist_itemsᐳ<br />(5) ...ᐳRelationalChecklistItem<br />More deps:<br />- Object[10]"]]:::plan
    PgClassExpression186 --> PgSelect223
    First227{{"First[227∈21]^"}}:::plan
    PgSelectRows228[["PgSelectRows[228∈21]^"]]:::plan
    PgSelectRows228 --> First227
    PgSelect223 --> PgSelectRows228
    PgSelectSingle229{{"PgSelectSingle[229∈21]^<br />ᐸrelational_checklist_itemsᐳ"}}:::plan
    First227 --> PgSelectSingle229
    PgClassExpression319{{"PgClassExpression[319∈21]^<br />ᐸ__relation...scription”ᐳ"}}:::plan
    PgSelectSingle229 --> PgClassExpression319
    PgClassExpression322{{"PgClassExpression[322∈21]^<br />ᐸ__relation...s__.”note”ᐳ"}}:::plan
    PgClassExpression319 o--o PgClassExpression322
    PgClassExpression324{{"PgClassExpression[324∈22]<br />ᐸ__people__.”username”ᐳ<br />(5) ...ᐳRelationalTopic"}}:::plan
    PgSelectSingle257 --> PgClassExpression324
    PgClassExpression325{{"PgClassExpression[325∈23]<br />ᐸ__people__.”username”ᐳ<br />(5) ...ᐳRelationalPost"}}:::plan
    PgClassExpression324 o--o PgClassExpression325
    PgClassExpression326{{"PgClassExpression[326∈24]<br />ᐸ__people__.”username”ᐳ<br />(5) ...ᐳRelationalDivider"}}:::plan
    PgClassExpression325 o--o PgClassExpression326
    PgClassExpression327{{"PgClassExpression[327∈25]<br />ᐸ__people__.”username”ᐳ<br />(5) ...ᐳRelationalChecklist"}}:::plan
    PgClassExpression326 o--o PgClassExpression327
    PgClassExpression328{{"PgClassExpression[328∈26]<br />ᐸ__people__.”username”ᐳ<br />(5) ...ᐳRelationalChecklistItem"}}:::plan
    PgClassExpression327 o--o PgClassExpression328

    %% define steps
    classDef bucket0 stroke:#696969
    class Bucket0,__Value2,PgSelect7,Access8,Access9,Object10,PgSelectRows11,PgSelectInlineApply329,PgSelectInlineApply333,PgSelectInlineApply337,PgSelectInlineApply341,Access342 bucket0
    classDef bucket1 stroke:#00bfff
    class Bucket1,__Item12,PgSelectSingle13 bucket1
    classDef bucket2 stroke:#7f007f
    class Bucket2,PgClassExpression14,PgSelectRows20,List343,Lambda344 bucket2
    classDef bucket3 stroke:#ffa500
    class Bucket3,__Item21,PgSelectSingle22,PgClassExpression23,PgClassExpression25,Lambda26,PgClassExpression117,First125,PgSelectRows126,PgSelectSingle127,PgClassExpression152,PgClassExpression157,PgClassExpression162,PgClassExpression167,PgClassExpression172,Access338,List339,Lambda340 bucket3
    classDef bucket4 stroke:#0000ff
    class Bucket4 bucket4
    classDef bucket5 stroke:#7fff00
    class Bucket5,PgSelect28,First32,PgSelectRows33,PgSelectSingle34,PgClassExpression177 bucket5
    classDef bucket6 stroke:#ff1493
    class Bucket6,PgSelect36,First40,PgSelectRows41,PgSelectSingle42,PgClassExpression178,PgClassExpression182,PgClassExpression185 bucket6
    classDef bucket7 stroke:#808000
    class Bucket7,PgSelect44,First48,PgSelectRows49,PgSelectSingle50,PgClassExpression179,PgClassExpression183 bucket7
    classDef bucket8 stroke:#dda0dd
    class Bucket8,PgSelect52,First56,PgSelectRows57,PgSelectSingle58,PgClassExpression180 bucket8
    classDef bucket9 stroke:#ff0000
    class Bucket9,PgSelect60,First64,PgSelectRows65,PgSelectSingle66,PgClassExpression181,PgClassExpression184 bucket9
    classDef bucket10 stroke:#ffff00
    class Bucket10,PgClassExpression230 bucket10
    classDef bucket11 stroke:#00ffff
    class Bucket11,PgClassExpression231 bucket11
    classDef bucket12 stroke:#4169e1
    class Bucket12,PgClassExpression232 bucket12
    classDef bucket13 stroke:#3cb371
    class Bucket13,PgClassExpression233 bucket13
    classDef bucket14 stroke:#a52a2a
    class Bucket14,PgClassExpression234 bucket14
    classDef bucket15 stroke:#ff00ff
    class Bucket15,First72,PgSelectRows73,PgSelectSingle74,PgClassExpression186,PgClassExpression188,Lambda189,PgClassExpression245,First255,PgSelectRows256,PgSelectSingle257,PgClassExpression290,PgClassExpression295,PgClassExpression300,PgClassExpression305,PgClassExpression310,Access330,List331,Lambda332,Access334,List335,Lambda336 bucket15
    classDef bucket16 stroke:#f5deb3
    class Bucket16 bucket16
    classDef bucket17 stroke:#696969
    class Bucket17,PgSelect191,First195,PgSelectRows196,PgSelectSingle197,PgClassExpression315 bucket17
    classDef bucket18 stroke:#00bfff
    class Bucket18,PgSelect199,First203,PgSelectRows204,PgSelectSingle205,PgClassExpression316,PgClassExpression320,PgClassExpression323 bucket18
    classDef bucket19 stroke:#7f007f
    class Bucket19,PgSelect207,First211,PgSelectRows212,PgSelectSingle213,PgClassExpression317,PgClassExpression321 bucket19
    classDef bucket20 stroke:#ffa500
    class Bucket20,PgSelect215,First219,PgSelectRows220,PgSelectSingle221,PgClassExpression318 bucket20
    classDef bucket21 stroke:#0000ff
    class Bucket21,PgSelect223,First227,PgSelectRows228,PgSelectSingle229,PgClassExpression319,PgClassExpression322 bucket21
    classDef bucket22 stroke:#7fff00
    class Bucket22,PgClassExpression324 bucket22
    classDef bucket23 stroke:#ff1493
    class Bucket23,PgClassExpression325 bucket23
    classDef bucket24 stroke:#808000
    class Bucket24,PgClassExpression326 bucket24
    classDef bucket25 stroke:#dda0dd
    class Bucket25,PgClassExpression327 bucket25
    classDef bucket26 stroke:#ff0000
    class Bucket26,PgClassExpression328 bucket26

